import {
  ModelOptions
} from '@/dva/types';

import * as effects from './effects';

import * as reducers from './reducers';

export interface UserInfo {

}

export interface State {
  userInfo: UserInfo,
  loading: boolean;
}

const initState: State = {
  userInfo: {},
  loading: false
};

export default {
  namespace: 'user',
  state: initState,
  effects: effects,
  reducers: reducers,
} as ModelOptions;
